import axios from 'axios'

export let getList =()=>{
    return (dispatch)=>{
        axios.get('/list').then(res =>{
            console.log(res.data)
        })
    }
}